//---------------------------------------------------------------------------

#ifndef mainH
#define mainH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <Menus.hpp>
#include <Dialogs.hpp>
#include "XDefines.h"
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
  TListView *lv1;
  TMainMenu *mm1;
  TMenuItem *mnN1;
  TMenuItem *mnNew;
  TMenuItem *mnExit;
  TSaveDialog *sd;
  void __fastcall mnNewClick(TObject *Sender);
  void __fastcall mnExitClick(TObject *Sender);
  void __fastcall FormCreate(TObject *Sender);
private:	// User declarations
public:		// User declarations
  TList * plugs;
  __fastcall TForm1(TComponent* Owner);
  void LoadPlugs();
  void LoadAPlug(AnsiString strDllFile);
  TPlug * GetPlugByDownType(int DownType);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
